package com.example.module_mine.login

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.activityViewModels
import com.example.lib_common.base.BaseFragment
import com.example.module_mine.R
import com.example.module_mine.databinding.FragmentAccountLoginBinding
import com.example.module_mine.login.viewmodel.LoginViewModel

/**
 * 账号密码登陆
 */
class AccountLoginFragment : BaseFragment<LoginViewModel, FragmentAccountLoginBinding>() {
    override val mLayoutResId: Int
        get() = R.layout.fragment_account_login
    override val mViewModel: LoginViewModel by activityViewModels()

    override fun initView() {
        //设置当前正在显示的fragment
        mViewModel.setCurrentFragment(AccountLoginFragment::class.simpleName.toString())
    }

    override fun initData() {

    }

    override fun initListener() {

    }


}